Skip to content

Conversation

@arman-boyakhchyan
Copy link
Contributor

No description provided.

@arman-boyakhchyan arman-boyakhchyan self-assigned this Nov 25, 2025
Copilot AI review requested due to automatic review settings November 25, 2025 10:22
@arman-boyakhchyan arman-boyakhchyan requested a review from a team as a code owner November 25, 2025 10:22
Copilot finished reviewing on behalf of arman-boyakhchyan November 25, 2025 10:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds description files for the AI Columns demo in both DataGrid and TreeList components. These descriptions document the new AI column feature, which allows components to generate additional data fields using AI/LLM integration.

Key Changes

  • New demo documentation explaining AI column integration and configuration
  • Instructions for setting up AI columns with proper API references
  • Explanation of how to optimize AI resource usage via the onAIColumnRequestCreating handler

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
apps/demos/Demos/DataGrid/AIColumns/description.md Adds comprehensive documentation for AI columns feature in DataGrid, including setup instructions and configuration details
apps/demos/Demos/TreeList/AIColumns/description.md Adds comprehensive documentation for AI columns feature in TreeList, mirroring the DataGrid documentation with TreeList-specific API references

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Raushen
Raushen previously approved these changes Nov 25, 2025
helen-dikareva
helen-dikareva previously approved these changes Dec 2, 2025
Copilot AI review requested due to automatic review settings December 2, 2025 12:55
Copilot finished reviewing on behalf of arman-boyakhchyan December 2, 2025 12:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.


[note]

AI services used for this demo have been rate and data limited. As such, you may experience performance-related delays when exploring the capabilities of DataGrid AI Columns.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrase "rate and data limited" should use hyphens to form proper compound adjectives: "rate-limited and data-limited". When multiple words function together as an adjective before a noun or verb, they should be hyphenated. This matches the style already used in "performance-related" and "AI-powered" elsewhere in the document.

Suggested change
AI services used for this demo have been rate and data limited. As such, you may experience performance-related delays when exploring the capabilities of DataGrid AI Columns.
AI services used for this demo have been rate-limited and data-limited. As such, you may experience performance-related delays when exploring the capabilities of DataGrid AI Columns.

Copilot uses AI. Check for mistakes.

[note]

AI services used for this demo have been rate and data limited. As such, you may experience performance-related delays when exploring the capabilities of TreeList AI Columns.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrase "rate and data limited" should use hyphens to form proper compound adjectives: "rate-limited and data-limited". When multiple words function together as an adjective before a noun or verb, they should be hyphenated. This matches the style already used in "performance-related" and "AI-powered" elsewhere in the document.

Suggested change
AI services used for this demo have been rate and data limited. As such, you may experience performance-related delays when exploring the capabilities of TreeList AI Columns.
AI services used for this demo have been rate-limited and data-limited. As such, you may experience performance-related delays when exploring the capabilities of TreeList AI Columns.

Copilot uses AI. Check for mistakes.
Co-authored-by: Elena Khamlyuk <[email protected]>
Signed-off-by: Arman Boyakhchyan <[email protected]>
Copilot AI review requested due to automatic review settings December 2, 2025 13:19
Copilot finished reviewing on behalf of arman-boyakhchyan December 2, 2025 13:23
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.


You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.


[/note]

This demo implements a prompt that instructs AI to identify the origin country of each car. You can modify the default prompt or enter a custom prompt in the AI column header menu.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with the TreeList description (line 13), consider adding "default" before "prompt": "This demo implements a default prompt that instructs AI..."

Suggested change
This demo implements a prompt that instructs AI to identify the origin country of each car. You can modify the default prompt or enter a custom prompt in the AI column header menu.
This demo implements a default prompt that instructs AI to identify the origin country of each car. You can modify the default prompt or enter a custom prompt in the AI column header menu.

Copilot uses AI. Check for mistakes.

This demo implements a prompt that instructs AI to identify the origin country of each car. You can modify the default prompt or enter a custom prompt in the AI column header menu.

To integrate an AI column into your DevExtreme DataGrid, you must:
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent phrasing between DataGrid and TreeList descriptions. DataGrid uses "you must:" while TreeList uses "do the following:". Consider standardizing to one format across both demos for consistency.

Suggested change
To integrate an AI column into your DevExtreme DataGrid, you must:
To integrate an AI column into your DevExtreme DataGrid, do the following:

Copilot uses AI. Check for mistakes.

[/note]

This demo implements a prompt that instructs AI to identify the department of each employee. You can modify the default prompt or enter a custom prompt in the AI column's header menu.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent possessive usage. TreeList uses "AI column's header menu" while DataGrid uses "AI column header menu". Consider standardizing to one format across both descriptions.

Suggested change
This demo implements a prompt that instructs AI to identify the department of each employee. You can modify the default prompt or enter a custom prompt in the AI column's header menu.
This demo implements a prompt that instructs AI to identify the department of each employee. You can modify the default prompt or enter a custom prompt in the AI column header menu.

Copilot uses AI. Check for mistakes.
- Configure [aiIntegration](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#aiIntegration) (or **columns[]**.**ai**.[aiIntegration](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#aiIntegration)).
- Set a column's [type](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/#type) to *"ai"*.
- Specify the column [name](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/#name).
- Configure **columns[]**.**ai** options, such as generation [mode](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#mode), predefined [prompt](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#prompt), and [no data text](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#noDataText) (displayed when the AI service returns no data for a row).
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent phrasing between DataGrid and TreeList. DataGrid uses "such as generation" while TreeList uses "including the generation". Consider standardizing the phrasing across both descriptions.

Suggested change
- Configure **columns[]**.**ai** options, such as generation [mode](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#mode), predefined [prompt](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#prompt), and [no data text](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#noDataText) (displayed when the AI service returns no data for a row).
- Configure **columns[]**.**ai** options, including the generation [mode](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#mode), predefined [prompt](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#prompt), and [no data text](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#noDataText) (displayed when the AI service returns no data for a row).

Copilot uses AI. Check for mistakes.

- Configure [aiIntegration](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#aiIntegration) (or **columns[]**.**ai**.[aiIntegration](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#aiIntegration)).
- Set a column's [type](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/#type) to *"ai"*.
- Specify the column [name](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/#name).
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent possessive usage. TreeList description uses "column's" (line 19) while DataGrid uses "column" without the possessive. Consider standardizing to match: either "Specify the column [name]" or "Specify the column's [name]" in both files.

Suggested change
- Specify the column [name](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/#name).
- Specify the column's [name](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/#name).

Copilot uses AI. Check for mistakes.

[/note]

This demo implements a prompt that instructs AI to identify the origin country of each car. You can modify the default prompt or enter a custom prompt in the AI column header menu.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent sentence structure between DataGrid and TreeList descriptions. DataGrid uses a single sentence with a relative clause ("a prompt that instructs"), while TreeList uses two sentences ("a default prompt... This prompt instructs"). Consider using consistent structure across both descriptions.

Suggested change
This demo implements a prompt that instructs AI to identify the origin country of each car. You can modify the default prompt or enter a custom prompt in the AI column header menu.
This demo implements a default prompt for the AI column. This prompt instructs AI to identify the origin country of each car. You can modify the default prompt or enter a custom prompt in the AI column header menu.

Copilot uses AI. Check for mistakes.
Co-authored-by: Elena Khamlyuk <[email protected]>
Signed-off-by: Arman Boyakhchyan <[email protected]>
Copilot AI review requested due to automatic review settings December 2, 2025 13:36
Copilot finished reviewing on behalf of arman-boyakhchyan December 2, 2025 13:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Signed-off-by: Arman Boyakhchyan <[email protected]>
Copilot AI review requested due to automatic review settings December 2, 2025 13:44
Copilot finished reviewing on behalf of arman-boyakhchyan December 2, 2025 13:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

- Specify the column [name](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/#name).
- Configure **columns[]**.**ai** options, such as generation [mode](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#mode), predefined [prompt](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#prompt), and [no data text](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#noDataText) (displayed when the AI service returns no data for a row).

Our DevExtreme DataGrid component uses all visible row data in AI requests, including unbound and hidden column fields. This data gives LLMs broader context, but increases the component use of AI resources. To limit data included in AI requests, modify the **AIColumnRequestCreatingEvent**.[data](/Documentation/ApiReference/UI_Components/dxDataGrid/Types/AIColumnRequestCreatingEvent/#data) parameter in the [onAIColumnRequestCreating](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#onAIColumnRequestCreating) event handler. No newline at end of file
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description of the data limiting feature is inconsistent with the TreeList demo description. The TreeList version mentions "This demo also configures the onAIColumnRequestCreating handler to limit data" and explains the default behavior more clearly. Consider rephrasing to: "This demo also configures the [onAIColumnRequestCreating]... handler to limit data included in AI requests. The default DataGrid behavior is to include all data from visible rows in AI requests, including data not bound to a column and data of hidden columns. This gives LLMs broader context, but increases the component's use of AI resources."

Suggested change
Our DevExtreme DataGrid component uses all visible row data in AI requests, including unbound and hidden column fields. This data gives LLMs broader context, but increases the component use of AI resources. To limit data included in AI requests, modify the **AIColumnRequestCreatingEvent**.[data](/Documentation/ApiReference/UI_Components/dxDataGrid/Types/AIColumnRequestCreatingEvent/#data) parameter in the [onAIColumnRequestCreating](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#onAIColumnRequestCreating) event handler.
This demo also configures the [onAIColumnRequestCreating](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#onAIColumnRequestCreating) handler to limit data included in AI requests. The default DataGrid behavior is to include all data from visible rows in AI requests, including data not bound to a column and data of hidden columns. This gives LLMs broader context, but increases the component's use of AI resources.

Copilot uses AI. Check for mistakes.

[/note]

This demo implements a prompt that instructs AI to identify the origin country of each car. You can modify the default prompt or enter a custom prompt in the AI column header menu.
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing article "the" before "AI column header menu". Should be "in the AI column header menu" for grammatical correctness.

Copilot uses AI. Check for mistakes.
- Specify the column [name](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/#name).
- Configure **columns[]**.**ai** options, such as generation [mode](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#mode), predefined [prompt](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#prompt), and [no data text](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/columns/ai/#noDataText) (displayed when the AI service returns no data for a row).

Our DevExtreme DataGrid component uses all visible row data in AI requests, including unbound and hidden column fields. This data gives LLMs broader context, but increases the component use of AI resources. To limit data included in AI requests, modify the **AIColumnRequestCreatingEvent**.[data](/Documentation/ApiReference/UI_Components/dxDataGrid/Types/AIColumnRequestCreatingEvent/#data) parameter in the [onAIColumnRequestCreating](/Documentation/ApiReference/UI_Components/dxDataGrid/Configuration/#onAIColumnRequestCreating) event handler. No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about just
uses all row data
? Just all available data.

@arman-boyakhchyan arman-boyakhchyan merged commit 5438b23 into DevExpress:25_2 Dec 3, 2025
50 checks passed
@arman-boyakhchyan arman-boyakhchyan deleted the grids-ai-column-demo-desc-25-2 branch December 3, 2025 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants